package com.wzy.pcwzy.servicealarm;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.widget.Toast;

/**
 * Created by PC WZY on 2017/9/22.
 */

public class NotifyService extends Service {
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    @Override
    public void onCreate() {
        MainActivity app = MainActivity.getApp();
        app.btEvent("from NotifyService");
        Toast.makeText(this,"这是系统自带的service",Toast.LENGTH_LONG).show();
        super.onCreate();
    }
}
